package com.mybed.crm.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mybed.crm.pojo.dto.PageBusinessDto;
import com.mybed.crm.pojo.pojo.Business;
import com.mybed.crm.pojo.pojo.Notice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.sql.Wrapper;


@Mapper
public interface NoticeMapper {
    /**
     * 查询通知是否以读
     * @param status
     * @return
     */
    @Select("select * from  tb_notice where status = #{status}")
    IPage<Notice> selectNotice(IPage<Notice> page, Wrapper wrapper,@Param("status") Integer status);
}
